import Vue from 'vue';
import Vuex from 'vuex';

import * as getters from "./getters";
import home from "./home/home";
import news from "./news/news";
import goods from "./goods/goods";

Vue.use(Vuex);

export const store = new Vuex.Store({
    state:{
      title:"首页",
    },
    getters,
    modules:{
      home,
      news,
      goods,
    }
});
